package com.bawei.mall.user.service.impl;

import com.bawei.mall.user.mapper.CusUserCollectMapper;
import com.bawei.mall.user.service.CusUserCollectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName CusUserCollectServiceImpl
 * @Description 描述
 * @Author ZiZheng.Li
 * @Date 2024/7/4 19:36
 */
@Service
public class CusUserCollectServiceImpl implements CusUserCollectService {
    @Autowired
    private CusUserCollectMapper cusUserCollectMapper;

    @Override
    public void collectMallProductInfoById(String id) {

    }

    @Override
    public void deleteProductCollection(String id) {
        // 取消收藏，商品收藏人气-1 并且 删除用户收藏信息
        cusUserCollectMapper.deleteProductCollection(id);
    }
}
